from wheels.pi.coro._CoroFrame import CoroFrame


class TaskDescriptor(object):

    def __init__(self, tid, parent_tid, coro):
        self.tid = tid
        self.parent_tid = parent_tid
        self.cmd = coro.__name__
        self.coro_stack = CoroFrame(coro)
